package com.yaorange.nongjt.certificate.controller.wxapi;

import com.yaorange.nongjt.certificate.service.INjtSerialAuthService;
import com.yaorange.nongjt.common.core.domain.AjaxResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * @author coach tam
 * @email 327395128@qq.com
 * @values 坚持灵活 灵活坚持
 * @since 2024/10/18
 */
@RestController
@RequestMapping("/api/serial")
public class NjtSerialAPI {

    @Autowired
    private INjtSerialAuthService serialAuthService;
    @GetMapping("/checkSerialCode")
    public AjaxResult checkSerialCode(@RequestParam("serialCode") String serialCode){
        serialAuthService.checkSerialCode(serialCode);
        return AjaxResult.success();
    }


}
